Platform Explorer / Nuxeo Platform LTS 2019 10.10

Extension point hibernate

Documentation

This service uses hibernate as JPA provider. This extension point lets you override the default hibernate configuration.

Contribution Descriptors

  • Class: org.nuxeo.ecm.core.persistence.HibernateConfiguration

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-audit-core-10.10-HF33.jar /OSGI-INF/nxaudit-persistence-config.xml
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="nxaudit-logs">
          <datasource>nxaudit-logs</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>
  • nuxeo-platform-uidgen-core-10.10.jar /OSGI-INF/uidgenerator-contrib.xml
    <extension point="hibernate" target="org.nuxeo.ecm.core.persistence.PersistenceComponent">
        <hibernateConfiguration name="NXUIDSequencer">
          <datasource>nxuidsequencer</datasource>
          <properties>
            <property name="hibernate.hbm2ddl.auto">update</property>
          </properties>
        </hibernateConfiguration>
      </extension>